From 3e40b1f7a45add863ed09aed6b5a952c2b67f381 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 5 Sep 2015 12:55:26 -0500 Subject: [PATCH] Update .desktop file and add terminal flavor --- debian/emacsVER.desktop | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/debian/emacsVER.desktop b/debian/emacsVER.desktop index 879672e04c1..cd01e928b0e 100644 --- a/debian/emacsVER.desktop +++ b/debian/emacsVER.desktop @@ -1,12 +1,25 @@ [Desktop Entry] Version=1.0 -Name=GNU Emacs @MENU_VERSION@ +Name=GNU Emacs @MENU_VERSION@ (GUI) GenericName=Text Editor -Comment=View and edit files +Comment=GNU Emacs is an extensible, customizable text editor - and more MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +TryExec=/usr/bin/@DEB_FLAVOR@ Exec=/usr/bin/@DEB_FLAVOR@ %F -TryExec=@DEB_FLAVOR@ Icon=@DEB_FLAVOR@ Type=Application Terminal=false Categories=Utility;Development;TextEditor; + +[Desktop Entry] +Version=1.0 +Name=GNU Emacs @MENU_VERSION@ (Terminal) +GenericName=Text Editor +Comment=GNU Emacs is an extensible, customizable text editor - and more +MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +TryExec=/usr/bin/@DEB_FLAVOR@ +Exec=/usr/bin/@DEB_FLAVOR@ -nw %F +Icon=@DEB_FLAVOR@ +Type=Application +Terminal=true +Categories=Utility;Development;TextEditor; -- 2.30.2